package cn.hit.been;

import cn.hit.constant.HitConstants;

public class HitCodeValueBeen {
    /** 码值主键 */
    private String strCodeValueId;
    /** 码值类别 */
    private String strCodeValueType;
    /** 码值来源 */
    private String strCodeValueSource;
    /** 码值状态 */
    private String strCodeValueStatus;
    /** 码值编号 */
    private String strCodeValueNo;
    /** 码类代号 */
    private String strCodeValueCode;
    /** 码值名称 */
    private String strCodeValueName;
    /** 码类简码 */
    private String strCodeValueJm;
    /** 码类主键 */
    private String strCodeSortId;
    /** 权限标识 */
    private String strRightFlg;
    /** 显示名称 */
    private String strShowName;
    /** 显示顺序 */
    private String numShowOrder;
    /** 有效标识 */
    private String strValidFlg;
    /** 操作标识 */
    private String strOperateFlg;
    /** 备注 */
    private String strComment;
    /** 创建用户主键 */
    private String strCreateId;
    /** 创建时间 */
    private String datCreateTime;
    /** 修改用户主键 */
    private String strModifyId;
    /** 修改时间 */
    private String datModifyTime;
    /** 删除标识 */
    private String strDelFlg;

    public String getStrCodeValueId() {
        return strCodeValueId;
    }

    public void setStrCodeValueId(String strCodeValueId) {
        this.strCodeValueId = strCodeValueId;
    }

    public String getStrCodeValueType() {
        return strCodeValueType;
    }

    public void setStrCodeValueType(String strCodeValueType) {
        if (HitConstants.COMMON_DD_NAME.equals(strCodeValueType)) {
            this.strCodeValueType = HitConstants.COMMON_DD_NO;
        } else if (HitConstants.COMMON_OTHER_NAME.equals(strCodeValueType)) {
            this.strCodeValueType = HitConstants.COMMON_OTHER_NO;
        } else if (HitConstants.CODE_VALUE_TYPE_DEFAULT_NAME.equals(strCodeValueType)) {
            this.strCodeValueType = HitConstants.CODE_VALUE_TYPE_DEFAULT_NO;
        } else if (HitConstants.CODE_VALUE_TYPE_OPTIONAL_NAME.equals(strCodeValueType)) {
            this.strCodeValueType = HitConstants.CODE_VALUE_TYPE_OPTIONAL_NO;
        } else if (HitConstants.CODE_VALUE_TYPE_TRIGGER_NAME.equals(strCodeValueType)) {
            this.strCodeValueType = HitConstants.CODE_VALUE_TYPE_TRIGGER_NO;
        } else {
            this.strCodeValueType = null;
        }
    }

    public String getStrCodeValueSource() {
        return strCodeValueSource;
    }

    public void setStrCodeValueSource(String strCodeValueSource) {
        if (HitConstants.COMMON_DD_NAME.equals(strCodeValueSource)) {
            this.strCodeValueSource = HitConstants.COMMON_DD_NO;
        } else if (HitConstants.COMMON_OTHER_NAME.equals(strCodeValueSource)) {
            this.strCodeValueSource = HitConstants.COMMON_OTHER_NO;
        } else if (HitConstants.COMMON_SOURCE_WRITE_NAME.equals(strCodeValueSource)) {
            this.strCodeValueSource = HitConstants.COMMON_SOURCE_WRITE_NO;
        } else if (HitConstants.COMMON_SOURCE_IMPORT_NAME.equals(strCodeValueSource)) {
            this.strCodeValueSource = HitConstants.COMMON_SOURCE_IMPORT_NO;
        } else {
            this.strCodeValueSource = null;
        }
    }

    public String getStrCodeValueStatus() {
        return strCodeValueStatus;
    }

    public void setStrCodeValueStatus(String strCodeValueStatus) {
        if (HitConstants.COMMON_DD_NAME.equals(strCodeValueStatus)) {
            this.strCodeValueStatus = HitConstants.COMMON_DD_NO;
        } else if (HitConstants.COMMON_OTHER_NAME.equals(strCodeValueStatus)) {
            this.strCodeValueStatus = HitConstants.COMMON_OTHER_NO;
        } else if (HitConstants.COMMON_STATUS_ENABLED_NAME.equals(strCodeValueStatus)) {
            this.strCodeValueStatus = HitConstants.COMMON_STATUS_ENABLED_NO;
        } else if (HitConstants.COMMON_STATUS_DISABLED_NAME.equals(strCodeValueStatus)) {
            this.strCodeValueStatus = HitConstants.COMMON_STATUS_DISABLED_NO;
        } else {
            this.strCodeValueStatus = null;
        }
    }

    public String getStrCodeValueNo() {
        return strCodeValueNo;
    }

    public void setStrCodeValueNo(String strCodeValueNo) {
        this.strCodeValueNo = strCodeValueNo;
    }

    public String getStrCodeValueCode() {
        return strCodeValueCode;
    }

    public void setStrCodeValueCode(String strCodeValueCode) {
        this.strCodeValueCode = strCodeValueCode;
    }

    public String getStrCodeValueName() {
        return strCodeValueName;
    }

    public void setStrCodeValueName(String strCodeValueName) {
        this.strCodeValueName = strCodeValueName;
    }

    public String getStrCodeValueJm() {
        return strCodeValueJm;
    }

    public void setStrCodeValueJm(String strCodeValueJm) {
        this.strCodeValueJm = strCodeValueJm;
    }

    public String getStrCodeSortId() {
        return strCodeSortId;
    }

    public void setStrCodeSortId(String strCodeSortId) {
        this.strCodeSortId = strCodeSortId;
    }

    public String getStrRightFlg() {
        return strRightFlg;
    }

    public void setStrRightFlg(String strRightFlg) {
        if (HitConstants.COMMON_DD_NAME.equals(strRightFlg)) {
            this.strRightFlg = HitConstants.COMMON_DD_NO;
        } else if (HitConstants.COMMON_OTHER_NAME.equals(strRightFlg)) {
            this.strRightFlg = HitConstants.COMMON_OTHER_NO;
        } else if (HitConstants.COMMON_RIGHT_SUPER_NAME.equals(strRightFlg)) {
            this.strRightFlg = HitConstants.COMMON_RIGHT_SUPER_NO;
        } else if (HitConstants.COMMON_RIGHT_SYS_NAME.equals(strRightFlg)) {
            this.strRightFlg = HitConstants.COMMON_RIGHT_SYS_NO;
        } else {
            this.strRightFlg = null;
        }
    }

    public String getStrShowName() {
        return strShowName;
    }

    public void setStrShowName(String strShowName) {
        this.strShowName = strShowName;
    }

    public String getNumShowOrder() {
        return numShowOrder;
    }

    public void setNumShowOrder(String numShowOrder) {
        this.numShowOrder = numShowOrder;
    }

    public String getStrValidFlg() {
        return strValidFlg;
    }

    public void setStrValidFlg(String strValidFlg) {
        if (HitConstants.COMMON_VALID_ENABLED_NAME.equals(strValidFlg)) {
            this.strValidFlg = HitConstants.COMMON_VALID_ENABLED_NO;
        } else if (HitConstants.COMMON_VALID_DISABLED_NAME.equals(strValidFlg)) {
            this.strValidFlg = HitConstants.COMMON_VALID_DISABLED_NO;
        } else {
            this.strValidFlg = null;
        }
    }

    public String getStrOperateFlg() {
        return strOperateFlg;
    }

    public void setStrOperateFlg(String strOperateFlg) {
        if (HitConstants.COMMON_OPERATION_STATUS_NAME.equals(strOperateFlg)) {
            this.strOperateFlg = HitConstants.COMMON_OPERATION_STATUS_NO;
        } else {
            this.strOperateFlg = null;
        }
    }

    public String getStrComment() {
        return strComment;
    }

    public void setStrComment(String strComment) {
        this.strComment = strComment;
    }

    public String getStrCreateId() {
        return strCreateId;
    }

    public void setStrCreateId(String strCreateId) {
        if (HitConstants.USER_INFO_MANAGER_NAME.equals(strCreateId)) {
            this.strCreateId = HitConstants.USER_INFO_MANAGER_NO;
        } else {
            this.strCreateId = strCreateId;
        }
    }

    public String getDatCreateTime() {
        return datCreateTime;
    }

    public void setDatCreateTime(String datCreateTime) {
        this.datCreateTime = datCreateTime;
    }

    public String getStrModifyId() {
        return strModifyId;
    }

    public void setStrModifyId(String strModifyId) {
        this.strModifyId = strModifyId;
    }

    public String getDatModifyTime() {
        return datModifyTime;
    }

    public void setDatModifyTime(String datModifyTime) {
        this.datModifyTime = datModifyTime;
    }

    public String getStrDelFlg() {
        return strDelFlg;
    }

    public void setStrDelFlg(String strDelFlg) {
        this.strDelFlg = strDelFlg;
    }
}
